//
//  ZBaseLabel.m
//  ZCProject
//
//  Created by Zheng on 2016/10/25.
//  Copyright © 2016年 Zheng. All rights reserved.
//

#import "ZBaseLabel.h"


//#define kFont(S) [UIFont systemFontOfSize:S]
//#define kWFont(S) (kMS_Width>320)?(kMS_Width>375?kFont(S*(414/375.f)):kFont(S*(375/375.f))):kFont(S*(320/375.f))

@implementation ZBaseLabel

- (instancetype)initWithwithText:(NSString *)text withAlignment:(NSTextAlignment)Alignment withTextColor:(UIColor *)textColor withFont:(CGFloat)font {
    self = [super init];
    if (self) {
        self.text = text;
        self.textAlignment = Alignment;
        self.textColor = textColor;
        self.font = kWFont(font);
    }
    return self;
}

@end
